package com.ruoyi.service.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 服务地址对象 service_address
 * 
 * @author ZDL
 * @date 2024-11-27
 */
public class ServiceAddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 服务地址主键ID */
    private Long addressId;

    /** 服务地址所对应的用户ID */
    @Excel(name = "服务地址所对应的用户ID")
    private Long addressUserid;

    /** 服务地址 */
    @Excel(name = "服务地址")
    private String addressInfo;

    /** 门牌号 */
    @Excel(name = "门牌号")
    private String addressDetail;

    /** 联系人 */
    @Excel(name = "联系人")
    private String addressPeople;

    /** 手机号 */
    @Excel(name = "手机号")
    private String addressPhone;

    /** 创建者 */
    @Excel(name = "创建者")
    private String addressCreateBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addressCreateTime;

    /** 更新者 */
    @Excel(name = "更新者")
    private String addressUpdateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addressUpdateTime;

    /** 删除标志（0代表存在 2代表删除） */
    @Excel(name = "删除标志", readConverterExp = "0=代表存在,2=代表删除")
    private String addressDelFlag;

    /** 默认标志（0代表默认 2代表普通） */
    @Excel(name = "默认标志", readConverterExp = "0=代表默认,2=代表普通")
    private String addressDefaultFlag;

    /** 备注 */
    @Excel(name = "备注")
    private String addressRemark;

    public void setAddressId(Long addressId) 
    {
        this.addressId = addressId;
    }

    public Long getAddressId() 
    {
        return addressId;
    }
    public void setAddressUserid(Long addressUserid) 
    {
        this.addressUserid = addressUserid;
    }

    public Long getAddressUserid() 
    {
        return addressUserid;
    }
    public void setAddressInfo(String addressInfo) 
    {
        this.addressInfo = addressInfo;
    }

    public String getAddressInfo() 
    {
        return addressInfo;
    }
    public void setAddressDetail(String addressDetail) 
    {
        this.addressDetail = addressDetail;
    }

    public String getAddressDetail() 
    {
        return addressDetail;
    }
    public void setAddressPeople(String addressPeople) 
    {
        this.addressPeople = addressPeople;
    }

    public String getAddressPeople() 
    {
        return addressPeople;
    }
    public void setAddressPhone(String addressPhone) 
    {
        this.addressPhone = addressPhone;
    }

    public String getAddressPhone() 
    {
        return addressPhone;
    }
    public void setAddressCreateBy(String addressCreateBy) 
    {
        this.addressCreateBy = addressCreateBy;
    }

    public String getAddressCreateBy() 
    {
        return addressCreateBy;
    }
    public void setAddressCreateTime(Date addressCreateTime) 
    {
        this.addressCreateTime = addressCreateTime;
    }

    public Date getAddressCreateTime() 
    {
        return addressCreateTime;
    }
    public void setAddressUpdateBy(String addressUpdateBy) 
    {
        this.addressUpdateBy = addressUpdateBy;
    }

    public String getAddressUpdateBy() 
    {
        return addressUpdateBy;
    }
    public void setAddressUpdateTime(Date addressUpdateTime) 
    {
        this.addressUpdateTime = addressUpdateTime;
    }

    public Date getAddressUpdateTime() 
    {
        return addressUpdateTime;
    }
    public void setAddressDelFlag(String addressDelFlag) 
    {
        this.addressDelFlag = addressDelFlag;
    }

    public String getAddressDelFlag() 
    {
        return addressDelFlag;
    }
    public void setAddressDefaultFlag(String addressDefaultFlag) 
    {
        this.addressDefaultFlag = addressDefaultFlag;
    }

    public String getAddressDefaultFlag() 
    {
        return addressDefaultFlag;
    }
    public void setAddressRemark(String addressRemark) 
    {
        this.addressRemark = addressRemark;
    }

    public String getAddressRemark() 
    {
        return addressRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("addressId", getAddressId())
            .append("addressUserid", getAddressUserid())
            .append("addressInfo", getAddressInfo())
            .append("addressDetail", getAddressDetail())
            .append("addressPeople", getAddressPeople())
            .append("addressPhone", getAddressPhone())
            .append("addressCreateBy", getAddressCreateBy())
            .append("addressCreateTime", getAddressCreateTime())
            .append("addressUpdateBy", getAddressUpdateBy())
            .append("addressUpdateTime", getAddressUpdateTime())
            .append("addressDelFlag", getAddressDelFlag())
            .append("addressDefaultFlag", getAddressDefaultFlag())
            .append("addressRemark", getAddressRemark())
            .toString();
    }
}
